This script numbers the selected lines (including lines that are partially selected) of the frontmost Scriptable Text Editor document.